package com.pet_service.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.pet_service.util.CodeEnum;

/**
 * 上门服务状态枚举
 */
public enum TOrderHomeServiceStatus implements CodeEnum {
    PENDING(0, "待执行"),
    EXECUTING(1, "执行中"),
    COMPLETED(2, "已完成");

    @EnumValue
    private final int code;
    private final String desc;

    TOrderHomeServiceStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() { return code; }
    public String getDesc() { return desc; }
}
